﻿#pragma once
#include "stdafx.h"
#include "resource.h"
#include "myDB.h"
// LoginDialog 对话框

class LoginDialog : public CDialogEx
{
	DECLARE_DYNAMIC(LoginDialog)

public:
	LoginDialog(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~LoginDialog();
	myDB* pLoginDB;

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = DLG_LOGIN };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedLogin();
	afx_msg void OnBnClickedRegister();
	CEdit m_name;
	CEdit m_password;
	int workingGroup;
	CString workingName;
	CString testSet;
	afx_msg void OnBnClickedButton1();
	void OnOK();
	CComboBox mTestSetSel;
};
